# 子目录列表
SUBDIRS = IOT_comm_module basic_info_module camera_server_module demo

.PHONY: all clean install $(SUBDIRS)

all: $(SUBDIRS)

$(SUBDIRS):
	@echo "Making $@"
	$(MAKE) -C $@

install:
	@for dir in $(SUBDIRS); do \
		echo "make insatll $$dir"; \
		$(MAKE) -C $$dir install; \
	done

clean:
	@for dir in $(SUBDIRS); do \
		echo "Cleaning $$dir"; \
		$(MAKE) -C $$dir clean; \
	done